projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3018a53
)
Fix --echo when echo-keystrokes nil
author
justbur
<justin@burkett.cc>
Thu, 26 May 2016 15:16:43 +0000
(11:16 -0400)
committer
justbur
<justin@burkett.cc>
Thu, 26 May 2016 15:16:43 +0000
(11:16 -0400)
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index 477df09a9bfb50f17060f03fa0e7c5cdd8cf6579..92789e40fbac8dc6c8d429e5359e2974725d3050 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-1619,7
+1619,9
@@
is the width of the live window."
Slight delay gets around evil functions that clear the echo
area."
(let* ((minibuffer (eq which-key-popup-type 'minibuffer))
- (delay (if minibuffer 0.2 (+ echo-keystrokes 0.001)))
+ (delay (if minibuffer
+ 0.2
+ (+ (or echo-keystrokes 0) 0.001)))
message-log-max)
(unless minibuffer (message "%s" text))
(run-with-idle-timer